Shape View
A custom androidx.appcompat.widget.AppCompatImageView that displays a geometric shape.
This view renders a shape (e.g., Rectangle, Circle) based on specified parameters such as type, colors (foreground, background, stroke), stroke width, radius, and shadow effects. The shape image is generated by a remote service and then downloaded and displayed by this view.
It implements RevelControl for integration into the RevelDigital player system, allowing it to be managed as a content module. It uses DownloadFileTask2 for asynchronous image downloading. The scale type is set to FIT_XY by default.
See also
Constructors
Functions
Link copied to clipboard
Gets an iterator over the configuration s for this control.
Link copied to clipboard
Gets the associated with this control, if any.
Link copied to clipboard
Gets the type of the underlying module or content associated with this control.
Link copied to clipboard
Initializes the control with its associated module context.
Link copied to clipboard
Checks if this control is configured to start its operation automatically after #initialize(Module) initialization.
Link copied to clipboard
Callback invoked when the DownloadFileTask2 (for downloading the rendered shape image) completes.
Link copied to clipboard
Sets whether this control should start its operation automatically after #initialize(Module) initialization.